home *** CD-ROM | disk | FTP | other *** search
- echo off
- if '%1' == '' goto NO_PARMS
- goto OK
- :NO_PARMS
- echo USAGE: BTTEST btrieve_file
- goto END
- :OK
- rem
- rem 'T' to choose Test on opening menu, 'I' for Index testing, '^' and 'C'
- rem to clear the field, %1 to get the file name, '!' for enter on file
- rem name, and '!' to test all indices. '###' to escape
- rem
- rem Remember that if more than one person on a network are using this, a
- rem temporary file with a unique file name should be created.
- rem
- echo TI^C%1!!################# >bttest.txt
- btfiler /k:bttest.txt /L
- del bttest.txt
- :END